﻿@model Project_veilingsite.Models.ContactModel
@{
    ViewBag.Title = "Contact";
}

<div id="content">

    <h1>Contacteer ons</h1>

    @using (Html.BeginForm("Index", "Contact")) //Method naam, controller naam
    {
        <br />
        
        @Html.LabelFor(model => model.Name) <br />
        <div class="lengthTextfield">
        @Html.EditorFor(model => model.Name)<br />
        </div>
       
    
        @Html.LabelFor(model => model.Email)<br />
         <div class="lengthTextfield">
        @Html.EditorFor(model => model.Email)<br />
        </div>
      
    
        @Html.LabelFor(model => model.Title) <br />  
        <div class="lengthTextfield"> 
        @Html.EditorFor(model => model.Title)<br />
        </div>
     
       
        @Html.LabelFor(model => model.Message)<br /> 
        <div class="lengthTextArea">
        @Html.EditorFor(model => model.Message)<br /><br />
        </div>
       
        <input type="submit" value="Verstuur" class="btn"/>
      <br /><br />
    }
</div>

@Html.Partial("_sidebar");